<#include "/includes/son.ftl">

<div class="container-fluid">
    <div class="card">
        <div class="card-header"><h4>修改菜单</h4></div>
        <div class="card-body">
            <form action="/sys/sysMenu/MenuEditDo" enctype="multipart/form-data" method="post" id="form1" class="form-horizontal">
                <div class="form-group">
                    <input type="hidden"  id="typeId" name="id" <#if sysMenu??>value="${sysMenu.id}"</#if>>
                </div>
                <div class="form-group">
                    <label for="shopTypeId">上级菜单</label>
                    <select class="form-control" name="proId" id="shopTypeId">
                        <#if sMenuName??>
                            <#list sMenuName as sgt>
                                <option value="${sgt.id}"  <#if sysMenu??><#if sysMenu.proId == sgt.id>selected="selected"</#if></#if> >${sgt.menuName}</option>
                            </#list>
                        </#if>
                    </select>
                </div>
                <div class="form-group">
                    <label for="typeName" >菜单名称</label>
                    <input class="form-control" type="text" id="typeName" name="menuName" placeholder="请输入菜单名称.." <#if sysMenu??>value="${sysMenu.menuName}"</#if> >
                </div>
                <div class="form-group">
                    <label for="shopGoods">菜单地址</label>
                    <input class="form-control" type="text" id="shopGoodsCount" name="menuHref" placeholder="请输入菜单地址.." <#if sysMenu??>value="${sysMenu.menuHref}"</#if> >
                </div>
                <div class="form-group">
                    <label for="shopGoodsCount">菜单样式</label>
                    <input class="form-control" type="text" id="shopGoodsPrice" name="menuClass" placeholder="请输入菜单样式.." <#if sysMenu??>value="${sysMenu.menuClass}"</#if> >
                </div>
                <div class="form-group">
                    <input class="btn btn-primary" id="btn" type="submit"<#if sysMenu??> value="修改" <#else>value="添加"</#if> ></input>
                </div>
            </form>
        </div>
    </div>
</div>
<script>

</script>